//
//  UIToolBarView.h
//  Assistant
//
//  Created by Hunk on 12-3-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol UIToolBarViewDelegate;
@interface UIToolBarView : UIView
{
    NSMutableArray            *_barButtonItemArray;
    
    id<UIToolBarViewDelegate> _delegate;
}

@property (nonatomic, assign) id<UIToolBarViewDelegate> delegate;

- (UIBarButtonItem *)barButtonItemAtIndex:(NSInteger)index;

@end

@protocol UIToolBarViewDelegate <NSObject>

- (void)toolBarView:(UIToolBarView *)toolBarView didSelectBarButtonAtIndex:(NSInteger)index;

@end